package com.travel.service.impl;

import com.travel.dao.TOrderDao;
import com.travel.entity.TOrder;
import com.travel.service.TOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TOrderServiceImpl implements TOrderService {
    @Autowired
    TOrderDao dao;
    @Override
    public List<TOrder> selectTOrder() {
        return dao.queryTOrder();
    }
}
